#!/bin/sh

cp FeniusDraft*.class  ~/INSTALL/apache-tomcat-6.0.18/webapps-fenius/servlets/WEB-INF/classes/
cp FeniusClientConfig.class  ~/INSTALL/apache-tomcat-6.0.18/webapps-fenius/servlets/WEB-INF/classes/

TOMCAT_LOCATION=~/INSTALL/apache-tomcat-6.0.18
cd ${TOMCAT_LOCATION}/bin
./shutdown.sh
rm -f ../logs/*
sleep 3
./startup.sh
sleep 3
netstat -an | grep 8080
